package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_COMPANY_ID;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_FIELD_CODE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_FIELD_NAME;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_FIELD_TYPE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_IS_EDIT;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_IS_NECESSARY;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_IS_OPEN;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_MODULE_CODE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_MODULE_NAME;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.E_SORT;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_COMPANY_ID;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_FIELD_CODE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_FIELD_NAME;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_FIELD_TYPE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_IS_EDIT;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_IS_NECESSARY;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_IS_OPEN;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_MODULE_CODE;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_MODULE_NAME;
import static org.jsola.hr.example.CompanyNecessaryFieldExample.N_SORT;

/**
 * 公司员工必填字段信息
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【公司员工必填字段信息】列表展示对象")
@Data
public class CompanyNecessaryFieldListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;

    @ApiModelProperty(notes = N_IS_EDIT, example = E_IS_EDIT)
    private Integer isEdit;

    @ApiModelProperty(notes = N_FIELD_TYPE, example = E_FIELD_TYPE)
    private String fieldType;

    @ApiModelProperty(notes = N_FIELD_CODE, example = E_FIELD_CODE)
    private String fieldCode;

    @ApiModelProperty(notes = N_FIELD_NAME, example = E_FIELD_NAME)
    private String fieldName;

    @ApiModelProperty(notes = N_IS_NECESSARY, example = E_IS_NECESSARY)
    private Boolean isNecessary;

    @ApiModelProperty(notes = N_IS_OPEN, example = E_IS_OPEN)
    private Boolean isOpen;

    @ApiModelProperty(notes = N_MODULE_NAME, example = E_MODULE_NAME)
    private String moduleName;

    @ApiModelProperty(notes = N_MODULE_CODE, example = E_MODULE_CODE)
    private String moduleCode;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

